//管理程序的路由信息

package routers

import (
	"github.com/gin-gonic/gin"
	"scaffold-demo/routers/auth"
)

func RegisterRouters(r *gin.Engine) { //接收main传过来的引擎
	apiGroup := r.Group("/api")       //api分组
	auth.RegisterSubRouters(apiGroup) //将上面分的api组，传给auth子路由
}
